package com.chinacoal.microservice.api.fallback;

import java.util.List;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.WorkflowConfigClient;
import com.chinacoal.microservice.model.wofkflow.QueryProcessBusinessParam;
import com.chinacoal.microservice.model.wofkflow.QueryProcessParam;
import com.chinacoal.microservice.model.wofkflow.entity.CatalogEntity;
import com.chinacoal.microservice.model.wofkflow.entity.ProcessBusinessEntity;
import com.chinacoal.microservice.model.wofkflow.entity.ProcessEntity;
import com.chinacoal.microservice.model.wofkflow.resource.WrapAttribute;
import com.chinacoal.microservice.model.wofkflow.resource.WrapProcessCatalog;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

/**  
 * @Package: com.chinacoal.microservice.api.fallback.WorkflowConfigClientFallback
 * @ClassName: WorkflowConfigClientFallback
 * @ClassDesc: 工作流配置Fallback
 * @Createby: sunh
 * @CreatedDate: 2019-11-28 21:20:00
 */  
@Component
public class WorkflowConfigClientFallback implements WorkflowConfigClient {

	@Override
	public Result<Page<ProcessBusinessEntity>> findList(Integer page, Integer pageSize, QueryProcessBusinessParam queryParam) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<ProcessBusinessEntity> findOne(String mapId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<ProcessBusinessEntity> getProcessByBusinessCode(Integer orgId, String sysCode, String businessCode) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> insertProcessBusiness(ProcessBusinessEntity processBusinessEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> updateProcessBusiness(ProcessBusinessEntity processBusinessEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> deleteProcessBusiness(String mapId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Page<CatalogEntity>> getProcessCatalog(Integer page, Integer pageSize, QueryProcessParam queryParam) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Page<ProcessEntity>> getProcessList(Integer page, Integer pageSize, QueryProcessParam queryParam) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<List<WrapAttribute>> getProcessActivity(Long processId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<WrapProcessCatalog> getProcessTree(Long processId, String parentCatalogId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<String> getFlowChart(String instanceId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}
	
}
